package pl.bizuteria.sklep.admin.client.ui.product;

import com.google.gwt.editor.client.Editor;
import com.google.gwt.user.client.ui.IsWidget;
import com.google.web.bindery.requestfactory.gwt.client.RequestFactoryEditorDriver;
import com.google.web.bindery.requestfactory.shared.EntityProxy;

public interface IProductEditView<P extends EntityProxy>
		extends IsWidget {
	
	public interface Presenter {
		
		void editClicked();

		void cancelClicked();
	}

	public void setPresenter(Presenter presenter);

	public RequestFactoryEditorDriver<P, ? extends Editor<P>> createEditorDriver();
}